172MV[音].js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. var rule = {
  2. title: '172MV',
  3. host: 'https://m.172mixdj.com',
  4. url: '/categories/fyclass/new?page=fypage',
  5. searchUrl: '/searches?s=**',
  6. searchable: 2,
  7. quickSearch: 0,
  8. filterable: 0,
  9. filter: '',
  10. filter_url: '',
  11. filter_def: {},
  12. headers: {
  13. 'User-Agent': 'MOBILE_UA',
  14. },
  15. timeout: 5000,
  16. class_name: '中文MV舞曲&英文MV舞曲&中文MV串烧',
  17. class_url: 'zwmv&ywmv&zwcs',
  18. cate_exclude: '',
  19. play_parse: true,
  20. lazy: `js:
  21. let html = request(input);
  22. let hconf = html.match(/r player_.*?=(.*?)</)[1];
  23. let json = JSON5.parse(hconf);
  24. let url = json.url;
  25. if (json.encrypt == '1') {
  26. url = unescape(url);
  27. } else if (json.encrypt == '2') {
  28. url = unescape(base64Decode(url));
  29. }
  30. if (/\\.(m3u8|mp4|m4a|mp3)/.test(url)) {
  31. input = {
  32. parse: 0,
  33. jx: 0,
  34. url: url,
  35. };
  36. } else {
  37. input;
  38. }`,
  39. double: true,
  40. 推荐: '',
  41. 一级: 'body&&.infinite-item;a&&title;img&&data-src;.video-length&&Text;a&&href',
  42. 二级: '*',
  43. tab_rename: {
  44. '道长在线': '在线播放',
  45. },
  46. 搜索: '*',
  47. }